﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    var prifix = "Edi_Ontology_InfoGroups_";
}
<div class="mini-toolbar" style="border-left: 0; border-right: 0; border-top: 0px; padding: 2px;">
    <div style="float: left">
        @{Html.RenderPartial("Partials/UiViewButtons");}
    </div>
    <div style="float: right">
    </div>
    <div style="clear: both;">
    </div>
</div>
<!--撑满页面-->
<div class="mini-fit noGridBorder">
    <div id="@(prifix)datagrid1" class="mini-datagrid" style="width:100%;height:100%;" allowalternating="true"
         url="@Url.Action("GetPlistInfoGroups")" idfield="Id" multiselect="true" showpager="false"
         allowcelledit="true" pagesize="100" showfooter="false">
        <div property="columns">
            <div type="indexcolumn" width="20"></div>
            <div type="checkcolumn" width="20"></div>
            <div name="action" width="50" headeralign="center" align="center" cellstyle="padding:0;">
            </div>
            <div field="Code" width="100" headeralign="center" allowsort="true">
                @Html.IconLabel("Code")
            </div>
            <div field="Name" width="100" headeralign="center" allowsort="true">
                分组名称
            </div>
            <div field="Description" width="150" headeralign="center" allowsort="false">
                分组说明
            </div>
            <div field="SortCode" width="50" headeralign="center" align="center" allowsort="true">
                @Html.IconLabel("SortCode")
            </div>
        </div>
    </div>
</div>
<div id="@(prifix)Edit_win1" class="mini-window" title="" style="width: 480px; height: 220px;"
     showmaxbutton="true" showfooter="true" showtoolbar="true"
     showmodal="true" allowresize="true" allowdrag="true">
    @{ Html.RenderPartial("Partials/EditBar", prifix + "Edit_"); }
    @{ Html.RenderPartial("Partials/InfoGroupEdit", prifix + "Edit_"); }
</div>
@section Foot{
    <script type="text/javascript" src="@Url.Content("~/Scripts/Areas/Edi/Ontology/InfoGroups.cshtml.js")"></script>
}